'use strict';

const Channel = require('../../iot/channel');

const IOT_SYMBOL = Symbol.for('application#iot');

module.exports = {
  get iot() {
    if (!this[IOT_SYMBOL]) {
      this[IOT_SYMBOL] = new Channel(this);
    }
    return this[IOT_SYMBOL];
  },
};
